import { getCurrentInstance } from "vue";
// Types
import type { VNode } from "vue";

export default function useRender(render: () => VNode): void {
  const vm = getCurrentInstance() as any;
  vm.render = render;
}
